package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.SpRequestContext;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface SpRequestContextDaoI extends BaseMapper<SpRequestContext> {

   @Insert("INSERT INTO `sp_request_context` (`product_id`,`request_id`,`institution_id`,`request_context`,`response_json`,`response_status`) VALUES (#{productId},#{requestId},#{institutionId},#{requestContext},#{responseJson},#{responseStatus})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(SpRequestContext spRequestContext);
}
